home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
gfx
/
misc
/
IFFLabel.lha
/
IFFLabel
/
IFFLabel.doc
< prev
next >
Wrap
Text File
|
1995-05-09
|
4KB
|
98 lines
Short: Prints IFF files any size, mult copies
Uploader: tsprague@ucsd.edu
Author: tsprague@ucsd.edu
Type: gfx/misc
IFFLabel is a SHAREWARE program I originally wrote to print labels for
my software, QuickText. (Demo is biz/demo/QuickTextdemo.lha). With it,
you may specify the size in 1/1000" for the image(s) on paper. Allows
multiple copies, and includes a way to print increasing serial or
registration numbers on each copy.
This archive, IFFLabel.lha, may be distributed under the following
conditions:
1. No charge except for reasonable media fees may be charged.
(i.e. Fish Disks, Aminet CD are OK)
2. Neither the files nor the archive may be altered in any way.
--------------------------------------------------------------------------
USAGE: IFFLabel iffname wid hei [-cSTR] [-n#] [-x#] [-y#] [-s#]
[-p#] [-fFONT,#]
PARAMS: iffame The name of the IFF file to print out.
wid,hei The width and height of the image to be printed,
in THOUSANDTHS of an INCH
OPTIONS: -cSTR will set the product code so that STR- will precede
the registration number. (default=none)
-n# Sets the number of copies to be made. (default=1)
-x# -y# Sets the location to print the product reg code.
(default=20,20)
-s# Starting registration number. (default=1)
-p# Pen number to draw product registration. (default=1)
-fFONT,# Font name and size to use for product registration.
(default=times,24)
--------------------------------------------------------------------------
Here's the specifics about how I used this...
I rendered a logo in a 1:1 aspect ratio using Imagine 2.0. Using
DPaint, I placed it appropriately in a bitmap that is 320x349, which
approximates the aspect ratio of the tractor-feed diskette labels I use.
The labels are 2.75"x2.75", with a 0.25" gap between them vertically.
Thus the total size is 2.75"x3", which is the same aspect ratio as
320x349.
Anyhow, there's some blank space in the IFF at the bottom to accommodate
the gap between labels. In the end, the command I use to print my demo
disk labels is:
IFFLabel demodisklabel.iff 2750 3000 -nXXX
(The dimensions must be specified in thousanths of an inch, and here XXX
would be the number of copies to be printed.)
For my program disk labels, I print a product registration number on them
using a command like:
IFFLabel progdisklabel.iff 2750 3000 -nXXX -s1 -cQTA -p7 -ftimes,24 -x105 -y120
This will print XXX labels with increasing serial numbers starting with
QTA-00001
in the times 24 font, at the location 105,120 in the bitmap.
The -p7 option specifies that the serial number be printed using pen 7,
which happens to have good contrast in that particular IFF picture.
The -s1 option tells the program to start the serial numbers at 1.
If the -c option is left out, only the number itself will be printed.
Serial numbers will be printed if any single option of {cpfxys} is included.
--------------------------------------------------------------------------
IFFLabel (c) 1995 by Todd Sprague, is SHAREWARE.
If you find this useful, support SHAREWARE by sending $10 & a note to
Todd Sprague
PO Box 9236
South Lake Tahoe, CA 96158 USA
If there's enough interest (& enough $), I may add options that will make
it easier to print using laser labels, where there's more than one across.
I haven't added it myself because I use tractor labels!
Comment, suggestions, etc. are welcome, but will be given more consideration
if accompanied by $.
--------------------------------------------------------------------------